home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / General / CIncludesTool / modified version / put in mpw folder / UserStartup•CInc < prev    next >
Text File  |  1994-02-27  |  1KB  |  36 lines

  1. #    UserStartup•CInc - customized MPW Shell UserStartup File
  2. #
  3. #    This file contains the definitions used by the CIncludes tools and scripts
  4. #   also adds support for multiple (nested) CIncludes folders for Apple MPW and Symantec MPW C/C++ compilers
  5.  
  6. # support extra CIncludes search paths
  7. # for MPW C and C++ …
  8. Set CIncList ""
  9. For i in `Files -f -d "{CIncludes}" ≥ Dev:Null`
  10.     Set CIncList "{CIncList} -i {i}"
  11. End  # For i
  12. Export CIncList
  13. Alias C 'C {CIncList}'
  14. Alias CPlus 'CPlus {CIncList}'
  15. # for Symantec C++ …
  16. Set SCIncList ""
  17. For i in `Files -f -d "{SCIncludes}" ≥ Dev:Null`
  18.     Set SCIncList "{SCIncList} -i {i}"
  19. End  # For i
  20. Export SCIncList
  21. Alias SC 'SC {CIncList}'
  22. Alias SCpp 'SCpp {CIncList}'
  23.  
  24. # add the C function prototype/definition finding commands to the Find menu
  25. AddMenu Find '(-' ''
  26. AddMenu Find 'CIncludesLocate'        'CIncludesTool -f'
  27. AddMenu Find 'CIncludesReformat'    'CIncludesTool -i'
  28. AddMenu Find 'CIncludesOpenHeader'    'CIncludesTool -d'
  29. AddMenu Find 'CIncludesRebuild'        'CIncludesTool -m'
  30. AddMenu Find 'Set Compiler…'        'Execute SetCompiler'
  31. AddMenu Find '(-' ''
  32.  
  33. Set CIncludesCompiler AppleCFront
  34. Export CIncludesCompiler
  35.  
  36. # end of UserStartup•CInc